package com.icinfo.cloud.provider.punish.api.client.ucase.casemain;

import com.icinfo.cloud.provider.punish.ucase.casemain.dto.DocumentCatalogQueryDto;
import com.icinfo.cloud.provider.punish.ucase.casemain.vo.DocumentCatalogInfoVo;
import com.icinfo.framework.common.web.Result;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 描述：关联文书客户端接口
 *
 * @Author zhengqiang
 * @Date 2022/6/29 20:37
 **/
@FeignClient(value = "${unified-punish-case-provider.namespace:}unified-punish-case-provider", contextId = "CaseRelatedDocumentRecordClient")
public interface CaseRelatedDocumentRecordClient {
    /**
     * 【V1.3.0】描述：获取文书种类列表
     *
     * @return {@link Result }
     * @author shishengyao
     * @date 2022/06/15
     */
    @PostMapping("/punish/ucase/related/document/getDocumentCatalogList")
    @ApiOperation(value = "【V1.0.0】描述：获取文书种类列表", httpMethod = "POST")
    Result<List<DocumentCatalogInfoVo>> getDocumentCatalogList(@RequestBody @Validated DocumentCatalogQueryDto queryDto);
}
